package com.ecut.property_project.service.suite;

import com.ecut.property_project.mapper.suite.SuiteAssessMapper;
import com.ecut.property_project.model.suite.SuiteAssess;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class SuiteAssessService{

    @Resource
    private SuiteAssessMapper suiteAssessMapper;

    
    public int deleteByPrimaryKey(Integer assessId) {
        return suiteAssessMapper.deleteByPrimaryKey(assessId);
    }

    
    public int insert(SuiteAssess record) {
        return suiteAssessMapper.insert(record);
    }

    
    public int insertSelective(SuiteAssess record) {
        return suiteAssessMapper.insertSelective(record);
    }

    public List<SuiteAssess> selectAll(){ return suiteAssessMapper.selectAll(); }

    public List<SuiteAssess> selectByPage(Integer page, Integer pageSize){return suiteAssessMapper.selectByPage(page,pageSize);}

    public SuiteAssess selectByPrimaryKey(Integer assessId) {
        return suiteAssessMapper.selectByPrimaryKey(assessId);
    }
    public List<SuiteAssess> selectByHeadId(String headId){
        return suiteAssessMapper.selectByHeadId(headId);
    }

    
    public int updateByPrimaryKeySelective(SuiteAssess record) {
        return suiteAssessMapper.updateByPrimaryKeySelective(record);
    }

    
    public int updateByPrimaryKey(SuiteAssess record) {
        return suiteAssessMapper.updateByPrimaryKey(record);
    }

}
